<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        var foo=100
    </script>
    <script type="module">
        console.log(foo)
    </script>
    <script type="module" src="https://unpkg.com/jquery@3.4.1/dist/jquery.min.js"></script>
    <script type="module" src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</body>
</html>